package com.tax.plan.utils;

import com.itextpdf.kernel.font.PdfFont;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;

/**
 * PDf 填充
 *
 * @Author: TG
 * @Description: About this class
 * @Date :Created in 11:04 2021/5/24 0024
 * @Version : 1.0
 */
public interface PdfReplaceHandler {
    /**
     * 填充pdf
     *
     * @param contractTemplateIns
     * @param pdfReplaceDataStore
     * @return
     * @throws IOException
     */
    public ByteArrayOutputStream fill(InputStream contractTemplateIns, PdfReplaceDataStore pdfReplaceDataStore) throws IOException;
}
